home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!compu.demon.co.uk
- From: Kevin David Watkins <kevin@compu.demon.co.uk>
- Newsgroups: comp.lang.c++
- Subject: Symantec C++ v7.2
- Date: Sat, 03 Feb 96 01:17:03 GMT
- Organization: Computech
- Message-ID: <823310223snz@compu.demon.co.uk>
- Reply-To: kevin@compu.demon.co.uk
- X-NNTP-Posting-Host: compu.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: compu.demon.co.uk
-
-
- Hi netters,
-
- I have bought Symantec C++ v7.2 and found a few problems with it, viz:
- 1. The maths library produces some unexpected results eg:
-
- #include <iostream.h>
- #include <math.h>
- main()
- {
- int i;
- for (i = 0;i < 10;i++)
- cout << log((double)i/10.0) << '\n';
- }
-
- produces wildly inaccurate numners (eg 1e+40) every three or four
- iterations or so, the numbers inbetween are perfectly OK.
-
- 2. Exceptions seem to be ignored when thrown.
-
- Has anyone else expereinced similar problems? Any patches?
-
- Cheers
-
- Kevin
-
- P.S. Please reply to my email address. Thanks.
-
- --
- Kevin D. Watkins kevin@compu.demon.co.uk
-
-